import { Boolean, CreateDate, Date, Code, Entity, Jsonb, PrimaryUuid, Title, UpdateDate, Uuid } from "@sker/core";


@Entity({
    name: 'gym_table'
})
export class GymTable {

    @PrimaryUuid()
    id: string;

    @Title()
    title: string;

    @Code({ nullable: true, default: 'personal' })
    type: string;

    @Boolean()
    enabled: boolean;

    @Date({ nullable: true })
    start_date: Date;

    @Date({ nullable: true })
    end_date: Date;

    @Jsonb({ nullable: true })
    setting: any;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}